package org.jeecg.modules.api.vo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class PayeeParamVo {

    @ApiModelProperty(value = "入账公司名称")
    @NotBlank(message = "入账公司名称不能为空")
    private String recordedCompanyName;

    @ApiModelProperty(hidden = true)
    private String recordedCompanyId;

    /**金额*/
    @ApiModelProperty(value = "金额（分）")
    @NotNull(message = "金额（分）不能为空")
    @Min(value = 1, message = "金额（分）必须大于等于1")
    private Long money;

    @ApiModelProperty(value = "收款方名称")
    @NotBlank(message = "收款方名称不能为空")
    private String payeeName;

    @ApiModelProperty(value = "收款方账号")
    @NotBlank(message = "收款方账号不能为空")
    private String payeeAccount;

    @ApiModelProperty(value = "收款方开户行")
    @NotBlank(message = "收款方开户行不能为空")
    private String payeeBankDeposit;
}
